package com.lv.phuotbacnam.ui.activity;

import android.os.Bundle;

import com.lv.phuotbacnam.R;
import com.lv.phuotbacnam.ui.Section;
import com.lv.phuotbacnam.ui.fragment.MainFragment;
import com.lv.phuotbacnam.ui.navigation.NavigationMenu;

public class MainActivity extends BaseActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		initialize();
		navigateTo(MainFragment.class, Section.INVITE, null, false);
	}

	private void initialize() {
		if (getActionBar() != null) {
			initializeNavigationBar();
		}
		initializeNavigationMenu(NavigationMenu.Mode.LEFT_RIGHT);
	}

	@Override
	protected int getContainerId() {
		return R.id.container;
	}

}
